package com.qm.hibernate;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Tuser entity. @author MyEclipse Persistence Tools
 */

public class Tuser implements java.io.Serializable {

	// Fields

	private Integer id;
	private String password;
	private String name;
	private String gender;
	private Date birthday;
	private String signature;
	private String address;
	private String phoneNumber;
	private String email;
	private String permission;
	private String role;
	private Set tblogcomments = new HashSet(0);
	private Set tposts = new HashSet(0);
	private Set tfriendsesForUserId = new HashSet(0);
	private Set tfriendsesForFriendId = new HashSet(0);
	private Set tblogcomments_1 = new HashSet(0);
	private Set tblogs = new HashSet(0);
	private Set tblogs_1 = new HashSet(0);
	private Set tposts_1 = new HashSet(0);
	private Set tfriendsesForFriendId_1 = new HashSet(0);
	private Set tpostcomments = new HashSet(0);
	private Set tpostcomments_1 = new HashSet(0);
	private Set tfriendsesForUserId_1 = new HashSet(0);

	// Constructors

	/** default constructor */
	public Tuser() {
	}

	/** minimal constructor */
	public Tuser(String password, String name, String email) {
		this.password = password;
		this.name = name;
		this.email = email;
	}

	/** full constructor */
	public Tuser(String password, String name, String gender, Date birthday,
			String signature, String address, String phoneNumber, String email,
			String permission, String role, Set tblogcomments, Set tposts,
			Set tfriendsesForUserId, Set tfriendsesForFriendId,
			Set tblogcomments_1, Set tblogs, Set tblogs_1, Set tposts_1,
			Set tfriendsesForFriendId_1, Set tpostcomments,
			Set tpostcomments_1, Set tfriendsesForUserId_1) {
		this.password = password;
		this.name = name;
		this.gender = gender;
		this.birthday = birthday;
		this.signature = signature;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.email = email;
		this.permission = permission;
		this.role = role;
		this.tblogcomments = tblogcomments;
		this.tposts = tposts;
		this.tfriendsesForUserId = tfriendsesForUserId;
		this.tfriendsesForFriendId = tfriendsesForFriendId;
		this.tblogcomments_1 = tblogcomments_1;
		this.tblogs = tblogs;
		this.tblogs_1 = tblogs_1;
		this.tposts_1 = tposts_1;
		this.tfriendsesForFriendId_1 = tfriendsesForFriendId_1;
		this.tpostcomments = tpostcomments;
		this.tpostcomments_1 = tpostcomments_1;
		this.tfriendsesForUserId_1 = tfriendsesForUserId_1;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getSignature() {
		return this.signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhoneNumber() {
		return this.phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPermission() {
		return this.permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public String getRole() {
		return this.role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public Set getTblogcomments() {
		return this.tblogcomments;
	}

	public void setTblogcomments(Set tblogcomments) {
		this.tblogcomments = tblogcomments;
	}

	public Set getTposts() {
		return this.tposts;
	}

	public void setTposts(Set tposts) {
		this.tposts = tposts;
	}

	public Set getTfriendsesForUserId() {
		return this.tfriendsesForUserId;
	}

	public void setTfriendsesForUserId(Set tfriendsesForUserId) {
		this.tfriendsesForUserId = tfriendsesForUserId;
	}

	public Set getTfriendsesForFriendId() {
		return this.tfriendsesForFriendId;
	}

	public void setTfriendsesForFriendId(Set tfriendsesForFriendId) {
		this.tfriendsesForFriendId = tfriendsesForFriendId;
	}

	public Set getTblogcomments_1() {
		return this.tblogcomments_1;
	}

	public void setTblogcomments_1(Set tblogcomments_1) {
		this.tblogcomments_1 = tblogcomments_1;
	}

	public Set getTblogs() {
		return this.tblogs;
	}

	public void setTblogs(Set tblogs) {
		this.tblogs = tblogs;
	}

	public Set getTblogs_1() {
		return this.tblogs_1;
	}

	public void setTblogs_1(Set tblogs_1) {
		this.tblogs_1 = tblogs_1;
	}

	public Set getTposts_1() {
		return this.tposts_1;
	}

	public void setTposts_1(Set tposts_1) {
		this.tposts_1 = tposts_1;
	}

	public Set getTfriendsesForFriendId_1() {
		return this.tfriendsesForFriendId_1;
	}

	public void setTfriendsesForFriendId_1(Set tfriendsesForFriendId_1) {
		this.tfriendsesForFriendId_1 = tfriendsesForFriendId_1;
	}

	public Set getTpostcomments() {
		return this.tpostcomments;
	}

	public void setTpostcomments(Set tpostcomments) {
		this.tpostcomments = tpostcomments;
	}

	public Set getTpostcomments_1() {
		return this.tpostcomments_1;
	}

	public void setTpostcomments_1(Set tpostcomments_1) {
		this.tpostcomments_1 = tpostcomments_1;
	}

	public Set getTfriendsesForUserId_1() {
		return this.tfriendsesForUserId_1;
	}

	public void setTfriendsesForUserId_1(Set tfriendsesForUserId_1) {
		this.tfriendsesForUserId_1 = tfriendsesForUserId_1;
	}

}